package com.hudongwx.shansun.utlis;

/**
 * Created by hudongwx on 16-10-26.
 */
public class API {
    public static String demio = "http://api.shandjj.com";
    public static String fragment_home = demio + "/api.php?m=Goods&a=home&g=Api1_3_0&os=android&user_id=&uuid=00000000-02d2-d4ed-ffff-ffffa5678102&scope_code=1477458989&version=1.3.0&timestamp=1477458992&sign=09dabb8d2056c1bb5749d8e6238ad149";
    public static String getFragment_home_title;

    public static String fragment_home_title(String page) {
        String home_title = demio + "/api.php?m=Goods&a=specialListByCate&cat_id=" + page + "&nowpage=1&g=Api1_3_0&os=android&user_id=&uuid=ffffffff-b128-20be-ffff-ffffb8431a2f&scope_code=1477633715&version=1.3.0&timestamp=1477634159&sign=63f4980ba7d4aa9cd5733a03801ae77e";

        return home_title;
    }

    public static String fragment_2_web(int page, String type, String brand, String sort) {
        return "http://api.shandjj.com/api.php?m=Brand&a=likeBrandlist&cat_id=" + type + "&brand_type=" + brand + "&sort_type=" + sort + "&nowpage=" + page + "&g=Api1_3_0&os=android&user_id=&uuid=ffffffff-c02b-6f3a-dfe1-197c62cce401&scope_code=1477554537&version=1.3.0&timestamp=1477554547&sign=59d6e29829f5931e885c896b5065c804";
    }

    public static String fragmeng_3_dress() {
        return "http://hd.shandjj.com/activity/newpublic1";

    }

    public static String fragmen_5_like() {
        return demio + "/api.php?m=Users&a=centerConf&g=Api1_3_0&os=android&user_id=&uuid=00000000-02d2-d4ed-ffff-ffffa5678102&scope_code=1477878798&version=1.3.0&timestamp=1477878800&sign=65e592d9cfaf57939d002ef93bfa70e8";
    }

    public static String aboutme() {
        return "http://api.shandjj.com/api.php?m=Other&a=start&model=vivo%20X5Pro%20L&g=Api1_3_0&os=android&user_id=&uuid=00000000-02d2-d4ed-ffff-ffffa5678102&scope_code=1477883597&version=1.3.0&timestamp=1477883601&sign=a1bc89eefc5e1f13b3b1580acdd0af26";
    }

    public static String fragment_1_item(String link, String page, String show_stock) {

        return "http://api.shandjj.com/api.php?m=Goods&a=goodsList&special_id=" + link + "&show_stock=" + show_stock + "&nowpage=" + page + "&g=Api1_3_0&os=android&user_id=&uuid=ffffffff-b128-20be-ffff-ffffb8431a2f&scope_code=1477904943&version=1.3.0&timestamp=1477962750&sign=0769484a63b2dc77ec392c1e90eebf17";
    }
    public static String fragment_2_item(String link){
        return "http://api.shandjj.com/api.php?m=Goods&a=typeSelection&special_id="+link+"&g=Api1_3_0&os=android&user_id=&uuid=ffffffff-c02b-6f3a-dfe1-197c62cce401&scope_code=1477882441&version=1.3.0&timestamp=1477882598&sign=150b1a9fef8c59014653b99e83af486e";
    }

    public static String fragment_screen(String link) {
        return "http://api.shandjj.com/api.php?m=Goods&a=typeSelection&special_id=" + link + "&g=Api1_3_0&os=android&user_id=&uuid=ffffffff-b128-20be-ffff-ffffb8431a2f&scope_code=1477904943&version=1.3.0&timestamp=1477982045&sign=a85d4ffa99c4ba2625b7921192f2e7d6";
    }

}
